

#include "State.h"

#include "StateManager.h"


void	State::changeState(State* state)
{
    m_pParent->changeState(state);
}

bool	State::pushState(State* state)
{
    return m_pParent->pushState(state);
}

void	State::popState()
{
    m_pParent->popState();
}

void    State::popAllAndPushState(State* state)
{
    m_pParent->popAllAndPushState(state);
}
